var mongoose =require('mongoose');
mongoose.connect('mongodb://localhost/android');
var schema = mongoose.Schema;
var titleSchema = new schema({
    title:{
        type:String,
        required:true
    },
    type:{
        type:Number,
        required:true
    }
});

var title = mongoose.model('Title',titleSchema);

module.exports = title;